package com.financial.business.yspay.controller;
import com.financial.business.yspay.utils.apiresult.ApiResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @api {get} /business/exception
 * @apiExample author WANGNING
 * email wyn20140226@aliyun.com
 * tar 异常处理补偿机制处理接口
 * date 2019年12月17日
 * @apiGroup business-yspay
 * @apiVersion 1.0.0
 * @apiSuccess {String} succeed
 */
@RestController
@RequestMapping("/ysexce")
public class FinancialYsBusinessExceController {
    private static final Logger logger = LoggerFactory.getLogger(FinancialYsBusinessExceController.class);

    /**
     * 分账异常补偿机制
     * @return
     */
    @GetMapping("/split")
    public ApiResult splitExce() {
        logger.info("FinancialYsBusinessExceController.splitExce()---开始请求银盛分账异常处理单子");
        return null;
    }

    /**
     * 提现异常补偿机制
     * @return
     */
    @GetMapping("/withdrawal")
    public ApiResult withdrawalExce() {
        logger.info("FinancialYsBusinessExceController.withdrawalExce()---开始请求银盛提现异常处理单子");
        return null;
    }

    /**
     * 代付异常补偿机制
     * @return
     */
    @GetMapping("/payment")
    public ApiResult paymentExce() {
        logger.info("FinancialYsBusinessExceController.paymentExce()---开始请求银盛代付异常处理单子");
        return null;
    }
    /**
     * 退款异常补偿机制
     * @return
     */
    @GetMapping("/refund")
    public ApiResult refundExce() {
        logger.info("FinancialYsBusinessExceController.refundExce()---开始请求银盛退款异常处理单子");
        return null;
    }

}
